package com.lch.designpattern.strategy.pay;

/**
 * @author: liuchenhui
 * @create: 2019-06-23 12:58
 **/
public class OrderTest {
    public static void main(String[] args) {
        Order order = Order.builder()
                .name(PayTypeEnum.ALIPAY.name())
                .amount(200)
                .uid("sfasdfqw353dsa")
                .build();
        final MsgResult payResult = order.pay();
        System.out.println(payResult);
    }
}
